package thread;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 25397
 * Date: 2022-03-24
 * Time: 19:37
 */
class MyRunnable implements Runnable{
    @Override
    public void run(){
        System.out.println("hello");
    }
}
public class Demo3 {
    public static void main(String[] args) {
        Thread t=new Thread(new MyRunnable());
        t.start();
    }
}
